package com.xywl.escort.view.pay.product;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.BaseResp;
import com.xywl.escort.bean.ProductPayApplyReq;
import com.xywl.escort.bean.ProductPayConfirmReq;

public interface ProductPayConfirmContract {

    interface Presenter extends BasePresenter {
        void takeView(ProductPayConfirmContract.View view);

        void productPayApply(ProductPayApplyReq req);

        void productPayConfirm(ProductPayConfirmReq req);
    }

    interface View extends BaseView<Presenter> {
        void productPayApplySuccess(String data);

        void productPayApplyFailure(String msg);

        void productPayConfirmSuccess(BaseResp resp);

        void productPayConfirmFailure(String msg);
    }
}